package com.yeyks.account.dal.dao;

import com.yeyks.account.dal.domain.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> querySelfRoles(@Param("deptId") Long deptId, @Param("roleId")Long roleId);
}
